#include "..\common\svmConfig.h"
#include <cstdlib>

#ifndef __svmTrainConfig_H__
#define __svmTrainConfig_H__

const int extLength = 7;
const char *const extModel = ".model";

class svmTrainConfig : public svmConfig {
public:
	svmTrainConfig():svmConfig(),outputFilename(NULL) {}
	~svmTrainConfig() {
		if(outputFilename != NULL)
			free(outputFilename);
	}
	void parseCommand(const int &argc, const char** &argv);
	void checkParam(int);
	char *outputFilename;
	char *trainingFilename;
private:
	void printHelp();
};

#endif